FROM centos:latest
RUN mkdir -p "/opt/"
RUN mkdir -p "/data/"

ADD cluster-cache "/opt/"
ADD data/data/ "/data/"
WORKDIR /opt
EXPOSE 8080
CMD ["./cluster-cache"]